<template>
    <div>
        {{counter}}
        <NuxtLink to="/parent">go index page</NuxtLink>
        <div></div>
        <NuxtLink to="/parent/child">go child page</NuxtLink>
        <!-- 子组件出口 -->
        <NuxtPage></NuxtPage>
    </div>
</template>
<script setup lang="ts">
const counter = useCounter()
interface PersonInter {
    name:string,
    age:number
}
// let person:PersonInter = {name:'tjl',age:16}
let person:Array<PersonInter> = [
    {name:'tjl',age:16},
    {name:'tjl',age:16},
    {name:'tjl',age:16}
]
console.log(person);

</script>